<?php 
class AdminHome extends Module
{
	function AdminHome($row)
	{
		//if(User::is_admin_team() || Db_Hotel::get_hotel_ids(User::id()))
		if(User::is_admin_team()||User::is_root())
		{
			if(User::is_admin_hotel()){
			//	Url::redirect_url('pmanage_board.html');
			}

			Module::Module($row);

			require_once 'forms/AdminHome.php';
			$this->add_form(new AdminHomeForm());
		}
		else{
			Url::access_denied();
		}
	}
}
?>